package cn.iune.erp.accounting;


import java.sql.SQLException;
import java.util.List;

import com.alibaba.fastjson.JSONObject;

public interface IPeriodCaptionDao {
	
	public void insert(PeriodCaption obj);
	
	public void delete(String fID);

	public PeriodCaption update(PeriodCaption obj);

	public List<PeriodCaption> getAll();
	
	public PeriodCaption getByID(String fID);
	
	PeriodCaption getByNo(String yearNo, String periodNo, String captionNo, String enterpriseNo);

	List<PeriodCaption> getByPeriod(String yearNo, String periodNo, String enterpriseNo);

	int deleteByPeriod(String yearNo, String periodNo, String enterpriseNo);

	JSONObject create(JSONObject data);

	JSONObject query(JSONObject data) throws SQLException;

	

}
